package com.quanyan.ic.vendingMachine.mapper.customSQL;

import org.apache.ibatis.annotations.SelectProvider;
import org.apache.ibatis.annotations.UpdateProvider;

/**
 * Created by zhuo.shi on 2017/8/3.
 */
public interface VmInventoryMapper {

    @UpdateProvider(type = VmInventoryMapperSqlProvider.class, method = "updateGridInventory")
    int updateGridInventory(String vmNumber, String grid, Byte gridNumber, Integer opCount);

    @SelectProvider(type = VmInventoryMapperSqlProvider.class, method = "countVmInventoryOfGoods")
    int countVmInventoryOfGoods(String vmNumber, Integer goodsId, String goodsUuid);
}
